package com.booktrade.vo;

import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 购物车表，
 * </p>
 *
 */
@Getter
@Setter
public class CartVo implements Serializable {


    /**
     * 书籍ID，关联到书籍表
     */
    private Integer bookId;

    /**
     * 书名
     */
    private String title;

    private Integer sellerId;

    private String sellerName;

    /**
     * 书籍数量
     */
    private Integer quantity;

    private String image;
    /**
     * 书籍价格
     */
    private BigDecimal price;

    /**
     * 书籍总价
     */
    private BigDecimal totalPrice;
}
